<template>
	<view>	
		<userinfo-component v-if="userInfo.nickName" />
		<login-component v-else />
	</view>
</template>

<script>
	import badgeMix from '@/mixins/tabbar-badge.js'
	import { mapState } from 'vuex'
	export default {
		mixins: [badgeMix],
		data() {
			return {
				
			};
		},
		computed: {
			...mapState('store_user', ['userInfo'])
		}
	}
</script>

<style lang="scss">

</style>
